package me.flyray.bsin.facade.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import me.flyray.bsin.domain.entity.AgentCard;

import java.util.List;
import java.util.Map;

/**
 * 智能体服务
 */

public interface AgentService {

    /**
     * 基于DID的数字分身
     * 创建数字分身
     * @param requestMap
     */
    public void create(Map<String, Object> requestMap);

    /**
     * @return
     */
    void edit(Map<String, Object> requestMap);

    /**
     * @return
     */
    void delete(Map<String, Object> requestMap);

    public AgentCard getDetail(Map<String, Object> requestMap);

    /**
     * @return
     */
    IPage<?> getPageList(Map<String, Object> requestMap);

    /**
     * @return
     */
    List<AgentCard> getList(Map<String, Object> requestMap);

    /**
     * 根据DID身份对应的数字分身
     * 没有则提示用户未开通
     */
    AgentCard getDidAgent(Map<String, Object> requestMap);

}
